<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" > 

<HTML>
<HEAD>
<TITLE>Nexus</TITLE>
<META HTTP-EQUIV="Expires" content="-1">
<META name="GENERATOR" Content="Microsoft Visual Studio .NET 7.1">
<META name="CODE_LANGUAGE" Content="C#">
<META name=vs_defaultClientScript content="JavaScript">
<META name=vs_targetSchema content="http://schemas.microsoft.com/intellisense/ie5">
<?XML:NAMESPACE PREFIX="DIMOK">
<?IMPORT NAMESPACE="DIMOK"  IMPLEMENTATION="/Include/HTC/SendToMenu.htc" >
<SCRIPT language="javascript" src="/Include/Common.js"></SCRIPT>
<SCRIPT language="javascript" src="/Include/SOAP.js"></SCRIPT>
<SCRIPT language="javascript" src="/Include/Events.js"></SCRIPT>
<LINK rel="stylesheet" type="text/css" href="/CSS/Outlook.css">
</HEAD>
<BODY onload="page_Load()" scroll="no" style="MARGIN-TOP: 15px; MARGIN-LEFT: 15px">
<DIV nowrap>
	ApplicantID: <INPUT id="txtApplID" onchange="go(value)">
</DIV>
<DIV ID="divMenus" Runat="server">
<DIV nowrap>
	<H4 id="h3" style="dysplay:expression(window.applID?'':'none')" runat="server" class="cb" onclick="loadApplicant()" title="Show Applicant"></H4>
	<DIMOK:SENDMENU DIR="Back" onsend="sendToMenu(null,null,false,true)">
		<ASP:LITERAL ID="ltrMENU_Back" Runat="server"></ASP:LITERAL>
	</DIMOK:SENDMENU>
</DIV>
<DIMOK:SENDMENU DIR="B" onsend="sendToMenu(null,null,false,true)">
	<ASP:LITERAL ID="ltrMENU_B" Runat="server"></ASP:LITERAL>
</DIMOK:SENDMENU>
<DIMOK:SENDMENU DIR="F" onsend="sendToMenu(null,null,false,true)">
	<ASP:LITERAL ID="ltrMENU_F" Runat="server"></ASP:LITERAL>
</DIMOK:SENDMENU>
</DIV>
<INPUT type="button" value="reload" onclick="navigateDialog()">
</BODY>
</HTML>
<SCRIPT language="javascript" src="Common/Admin.js"></SCRIPT>
<SCRIPT language="javascript">
document.attachEvent("onkeydown",doEnterKey);
var applID = getParam("ApplID");
function page_Load(){
	setTimeout(function(){cropWindow();},500);
	txtApplID.focus();
	attachToSendToMenu(function(){reloadDialog()},applID);
	attachToListLoadNext(function(){reloadDialog()},applID);
}
function sendToMenu(){
	if( !WS )return alert(SERVICE_NOT_AVAILIBLE);
	if( !confirm("Sending applicant "+applID+" to "+event.menuName) )return;
	var ret = WS(CO("SendToMenu"),event.menuID);
	if( showSOAPError(ret) )return;
	fireSendToMenu(applID);
	navigateDialog();
}
function loadApplicant(){
	var w = Opener().open("/Manager/Menu/ShowApplicant.aspx?ApplID="+applID);
	setTimeout(function(){w.focus()},1000);
}
function go(applID){
	if( applID )return;
	var url = location.href.replace(/applid=\d+&?/i,"") + "ApplID="+applID;
	navigateDialog(url);
}
function reloadDialog(){
	if( (dialogArguments||{}).reload ){
		dialogArguments.reload(location.href);
		//reloadDialog.opener = reloadDialog.opener || dialogArguments.opener;
		//reloadDialog.showParams = reloadDialog.showParams || dialogArguments.showParams;
		//dialogArguments.opener.showModelessDialog(location.href,{opener:reloadDialog.opener,showParams:reloadDialog.showParams},dialogArguments.showParams);
		window.close();
	}else location.reload();
}
function _applID(){return txtApplID.value || applID}
</SCRIPT>
